/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const produceRouter = {
  path: '/produce',
  component: Layout,
  hidden: false,
  redirect: '/produce/typeCreat',
  name: 'Produce',
  meta: {
    title: 'produce',
    icon: 'el-icon-finished'
  },
  children: [
    {
      path: 'typeCreat',
      component: () => import('@/views/produce/typeCreat'),
      name: 'TypeCreat',
      meta: { title: 'typeCreat' }
    },
    {
      path: 'typePara',
      component: () => import('@/views/produce/typePara'),
      name: 'TypePara',
      meta: { title: 'typePara' }
    },
    {
      path: 'typeProcessSetting',
      component: () => import('@/views/produce/typeProcessSetting'),
      name: 'TypeProcessSetting',
      meta: { title: 'typeProcessSetting' }
    },
    {
      path: 'produceOverview',
      component: () => import('@/views/produce/produceOverview'),
      name: 'ProduceOverview',
      meta: { title: 'produceOverview' }
    },
    {
      path: 'operator',
      component: () => import('@/views/produce/operator'),
      name: 'Operator',
      meta: { title: 'operator' }
    },
    {
      path: 'timeFragment',
      component: () => import('@/views/produce/timeFragment'),
      name: '   TimeFragment',
      meta: { title: 'timeFragment' }
    }
  ]
}

export default produceRouter
